﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;
using Meqs.Entity.Views;

namespace Meqs.Logic.Interface
{
    public interface ISheetItemsLogic : IMultiCommonLogic<SheetItems, int>
    {
        /// <summary>
        /// 创建SheetItems
        /// </summary>
        /// <param name="items"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int Create(SheetItems items, string schoolMark);

        /// <summary>
        /// 创建SheetItems
        /// </summary>
        /// <param name="items"></param>
        /// <param name="schoolMark"></param>
        /// <param name="teacherId"></param>
        /// <param name="currentStudentEval"></param>
        /// <returns></returns>
        int Create(SheetItems items, string schoolMark, int teacherId, StudentEvals currentStudentEval);

        /// <summary>
        /// 创建SheetItems
        /// </summary>
        /// <param name="items"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int Update(SheetItems items, string schoolMark);

        /// <summary>
        /// 查询检查单明细
        /// </summary>
        /// <param name="evalsheetID"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        IList<SheetItemsExtend> FindAllByEvalItemsID(int evalsheetID, string schoolMark);
    }
}
